# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1305.9.4 -> 1.1305.9.5 # kernel/sysctl.c 1.45.1.1 -> 1.45.1.2 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 03/06/14 vojtech@kernel.bkbits.net 1.1305.10.5 # Merge # -------------------------------------------- # 03/06/17 davidm@tiger.hpl.hp.com 1.1305.9.5 # Add back /proc/sys/kernel/cache_decay_ticks. # -------------------------------------------- # diff -Nru a/kernel/sysctl.c b/kernel/sysctl.c --- a/kernel/sysctl.c Thu Jun 19 00:45:41 2003 +++ b/kernel/sysctl.c Thu Jun 19 00:45:41 2003 @@ -551,6 +551,16 @@ .mode = 0644, .proc_handler = &proc_dointvec, }, +#ifdef CONFIG_SMP + { + .ctl_name = KERN_CACHEDECAYTICKS, + .procname = "cache_decay_ticks", + .data = &cache_decay_ticks, + .maxlen = sizeof(cache_decay_ticks), + .mode = 0644, + .proc_handler = &proc_doulongvec_minmax, + }, +#endif { .ctl_name = 0 } };